package com.linq.cool.common.core.utils.annotation;


import com.linq.cool.common.core.utils.enums.FieldType;

import java.lang.annotation.*;

/**
 * @Author: yqlin
 * @Date: 2020/11/26 10:27
 * @Description: 2020/12/28 21:32
 * @Version: 1.0.0
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TreeField {
    /**
     * 所属类型
     * 三种: ID,PID,CHILD
     *
     * @return
     */
    FieldType fieldType();
}
